package com.zhongxiangspace.result;

/**
 * 请求异常返回的对象
 */
public class ExceptionResult extends Result {

	public ExceptionResult(Exception e) {
		this.setCode(ResultCode.EXCEPTION);
		this.setMessage(e.getMessage());
		this.setData(null);
		this.setSuccess(false);
	}
}
